package com.gxuwz.business.entity;

import java.util.Date;

/**
 * Recipe entity. @author MyEclipse Persistence Tools
 */

public class Recipe implements java.io.Serializable {

	// Fields

	private Integer id;
	private String recipeId;
	private String recipeType;
	private String recipeTitle;
	private Date recipeDate;
	private String treatId;
	private String userId;
	private String userName;
	private String stuId;
	private String stuName;
	private Integer status;
	private String recipeDesc;
	private Integer state;

	// Constructors
	
	

	/** default constructor */
	public Recipe() {
	}

	@Override
	public String toString() {
		return "Recipe [id=" + id + ", recipeId=" + recipeId + ", recipeType=" + recipeType + ", recipeTitle="
				+ recipeTitle + ", recipeDate=" + recipeDate + ", treatId=" + treatId + ", userId=" + userId
				+ ", userName=" + userName + ", stuId=" + stuId + ", stuName=" + stuName + ", status=" + status
				+ ", recipeDesc=" + recipeDesc + ", state=" + state + "]";
	}

	/** minimal constructor */
	public Recipe(String recipeId, String recipeType, String recipeTitle, Date recipeDate, String treatId,
			String userId, String userName, String stuId, String stuName, Integer status, Integer state) {
		this.recipeId = recipeId;
		this.recipeType = recipeType;
		this.recipeTitle = recipeTitle;
		this.recipeDate = recipeDate;
		this.treatId = treatId;
		this.userId = userId;
		this.userName = userName;
		this.stuId = stuId;
		this.stuName = stuName;
		this.status = status;
		this.state = state;
	}

	/** full constructor */
	public Recipe(String recipeId, String recipeType, String recipeTitle, Date recipeDate, String treatId,
			String userId, String userName, String stuId, String stuName, Integer status, String recipeDesc,
			Integer state) {
		this.recipeId = recipeId;
		this.recipeType = recipeType;
		this.recipeTitle = recipeTitle;
		this.recipeDate = recipeDate;
		this.treatId = treatId;
		this.userId = userId;
		this.userName = userName;
		this.stuId = stuId;
		this.stuName = stuName;
		this.status = status;
		this.recipeDesc = recipeDesc;
		this.state = state;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getRecipeId() {
		return this.recipeId;
	}

	public void setRecipeId(String recipeId) {
		this.recipeId = recipeId;
	}

	public String getRecipeType() {
		return this.recipeType;
	}

	public void setRecipeType(String recipeType) {
		this.recipeType = recipeType;
	}

	public String getRecipeTitle() {
		return this.recipeTitle;
	}

	public void setRecipeTitle(String recipeTitle) {
		this.recipeTitle = recipeTitle;
	}

	public Date getRecipeDate() {
		return this.recipeDate;
	}

	public void setRecipeDate(Date recipeDate) {
		this.recipeDate = recipeDate;
	}

	public String getTreatId() {
		return this.treatId;
	}

	public void setTreatId(String treatId) {
		this.treatId = treatId;
	}

	public String getUserId() {
		return this.userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getUserName() {
		return this.userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getStuId() {
		return this.stuId;
	}

	public void setStuId(String stuId) {
		this.stuId = stuId;
	}

	public String getStuName() {
		return this.stuName;
	}

	public void setStuName(String stuName) {
		this.stuName = stuName;
	}

	public Integer getStatus() {
		return this.status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getRecipeDesc() {
		return this.recipeDesc;
	}

	public void setRecipeDesc(String recipeDesc) {
		this.recipeDesc = recipeDesc;
	}

	public Integer getState() {
		return this.state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

}